home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / dbx130.arj / README.DOC < prev    next >
Encoding:
Text File  |  1993-03-22  |  12.9 KB  |  283 lines

  1. dbMAX(tm) Version 1.30
  2. Copyright (c) 1991-1993 David A. Kennedy.
  3. All rights reserved.
  4.  
  5.  
  6. INTRODUCTION
  7. ============
  8.  
  9. dbMAX is an xBASE utility that will allow complete multi-user access to
  10. any xBASE databases and indexes.  The program uses a CUA-type menu system
  11. with Brief(R)-style hot keys and can browse databases in up to 250 moveable,
  12. sizable windows.  Almost every Clipper(R)/dBASE(R) command is available,
  13. allowing dbMAX to replace the dBASE Assist/Control Center or Computer
  14. Associates' DBU utility.  dbMAX also has a partially open architecture,
  15. allowing programmers to create their own menus and operate on dbMAX
  16. internal data structures.
  17.  
  18.  
  19. COMPILE and LINK
  20. ================
  21.  
  22. To compile and link dbMAX you will need Clipper 5.2.  A batch file,
  23. MAKEDBX.BAT, is provided to you to automate this task.  Linking can be
  24. performed with .RTLink, Blinker, or any other dynamic overlay linker.
  25. .RTLink and Blinker link scripts are provided.  The MAKEDBX.BAT file and
  26. the .LNK files are set up assuming you have no other third-party linker
  27. or libraries, so you may want to edit these files.
  28.  
  29. See the SHAREWARE section below for information on obtaining the source
  30. code.
  31.  
  32.  
  33. THIRD-PARTY LIBRARIES
  34. =====================
  35.  
  36. A third-party library, DBMAX.LIB, is used by dbMAX.  This library is a
  37. collection of public domain assembly, C, and Clipper routines that can be
  38. used in lieu of other third-party libraries.  The functions in this library
  39. are NOT critical to the operation of the program and can be removed and/or
  40. worked around.  See FIXUP.PRG for details.
  41.  
  42. If you want to use your own libraries, FIXUP.PRG contains all the third-
  43. party functions called by dbMAX re-written using Clipper 5.2, so that none
  44. of the original source code needs to be modified.  Simply remove or modify
  45. the functions in FIXUP.PRG as required for your own libraries and link it
  46. in.  If you do use the FIXUP code, make sure that DBMAX.LIB is the last
  47. 3rd-party library in your link file.  This allows your routines to be
  48. linked into the .EXE instead of those in DBMAX.LIB.
  49.  
  50.  
  51. RUNNING dbMAX
  52. =============
  53.  
  54. The only file you need to run the program is DBX.EXE.  All other files are
  55. optional.  A missing DBX.INI file will cause a warning message to appear.
  56.  
  57. To run dbMAX, type DBX at the DOS prompt.  DBX /? will list all the command
  58. line parameters that can be used.
  59.  
  60.      Syntax:    DBX [database] [index] [switches]
  61.  
  62.      where:     database = name of database, extension not required
  63.                 index    = name of index, extension not required
  64.  
  65.      Switches:  /C<n>    = columns to display      (default=80)
  66.                 /D<name> = database driver name    (default=DBFNTX)
  67.                 /R<n>    = rows to display         (default=25)
  68.                 /S       = single-user             (default=multi-user)
  69.                 /T       = temporary files drive   (default=current)
  70.                 /U<file> = use specified .INI file (default=DBX.INI)
  71.                 /V<file> = use specified .ENV file (default=DBX.ENV)
  72.                 /?       = help screen
  73.  
  74. The parameters can appear in any order, except that the database name must
  75. appear before the index name.  Please note that the following additional
  76. parameters can be specified as long at they appear BEFORE any others:
  77.  
  78.      //E:<nExpanded>     = amount of EMS to use (in KB, default=ALL)
  79.      //F:<nHandles>      = number of file handles to use (default=50)
  80.      //X:<nKbytes>       = amount of conventional RAM to exclude
  81.      //CGACURS           = fixes possible cursor problems (default=ON)
  82.      //SWAPK:<nBytes>    = maximum swap file size
  83.      //SWAPPATH:'<path>' = path where VMM swap files are placed
  84.      //TEMPPATH:'<path>' = path where temp index/sort files are placed.
  85.  
  86.  
  87. NETWORKS
  88. ========
  89.  
  90. When running dbMAX in a network environment, BE SURE to set the temporary
  91. files drive to a LOCAL DRIVE or your personal drive/directory!  The temporary
  92. files drive is not the same as the one specified by //SWAPPATH and //TEMPPATH
  93. above.  Having these three parameters point to a RAM disk will provide the
  94. best performance.
  95.  
  96. Installing dbMAX on a network is not recommended since other users can
  97. overwrite your initialization and environment files.  This can be worked
  98. around by running dbMAX from a batch file as follows:
  99.  
  100.      DBX /U<userdrive:\DBX.INI> /V<userdrive:\DBX.ENV> /TC:\ %1 %2 %3 %4 %5
  101.  
  102.  
  103. TIPS & TRICKS
  104. =============
  105.  
  106. - When entering expressions into dbMAX that contain references to a related
  107.   database, you MUST use the work area number instead of the alias name.  The
  108.   area number is displayed after the file name on the help line.
  109.  
  110. - Since dbMAX does not use report form (.FRM) files, users who want to print
  111.   a "canned" report can use the Window|Heading (F3), Window|Column, and
  112.   environment functions to set up a dbMAX session and then save it to an
  113.   environment file (.ENV).  The file can be reloaded (Ctrl-F10) and the
  114.   database printed when required.  Grouping is not possible.  Subtotals will
  115.   be calculated for all numeric columns automatically; to prevent totals,
  116.   convert the column to a character type by using Window|Heading and the
  117.   STR() function.
  118.  
  119. - Opening database files in exclusive mode on networks will noticeably
  120.   improve performance when browsing, indexing, filtering, etc. F4 toggles
  121.   the open mode.
  122.  
  123. - The About option (on the Help menu) will indicate the amount of RAM
  124.   available to dbMAX.
  125.  
  126. - To run dbMAX under Windows(tm), add a DBX.PIF file that runs dbMAX using
  127.   the following recommended parameters:
  128.  
  129.      Program Filename:     dbx.exe
  130.      Optional Parameters:  /r25 /uc:\dbmax\windows.ini
  131.      Video Memory:         Text
  132.      Memory Requirements:  KB Required: 640   KB Desired: -1
  133.      EMS Memory:           KB Required: 256   KB Limit:   -1
  134.      XMS Memory:           KB Required: 256   KB Limit:   256
  135.      Display Usage:        Windowed
  136.      Execution:            Background
  137.      Close Window on Exit
  138.  
  139.   If you want, set the Multitasking Foreground Priority to 1000+.  A dbMAX
  140.   icon, DBMAX.ICO, is supplied for use with Windows.
  141.  
  142.   If using Blinker 2.00 or earlier make sure you set BLINKER OVERLAY
  143.   PAGEFRAME OFF and BLINKER CACHE EMS 0,100%.  Alternatively, the Program
  144.   Filename in the dbMAX .PIF should be changed to reference the following
  145.   batch file:
  146.  
  147.      @echo off
  148.      set blinker=/op0 /ce0,100
  149.      dbx %1 %2 %3 %4 %5 %6 %7 %8 %9
  150.      set blinker=
  151.  
  152.  
  153. KNOWN PROBLEMS
  154. ==============
  155.  
  156. The software is intended to be used by knowledgable xBASE users/programmers
  157. and as a result error handling has been minimized to reduce the size of the
  158. .EXE file and speed up the program.
  159.  
  160. 1)  Use of BOTH dBASE(R) and any Clipper(R)-based program such as dbMAX
  161.     to edit databases can lead to corrupted files!  DO NOT use dBASE to
  162.     edit, append, or pack records.  dBASE places end-of-file markers at the
  163.     end of database files while Clipper does not:  this can lead to files
  164.     that will contain records that cannot be accessed.  Also, .NTX index
  165.     files and record-locking schemes are not compatible between the two
  166.     systems. To be safe, do not use dBASE to change any database that is
  167.     used by dbMAX (or any other Clipper system).
  168.  
  169. 2)  Changing files in a network environment may cause other users to
  170.     experience problems.  For example, revising a database with an index
  171.     active while someone else is revising it without the index will cause
  172.     the index file to become corrupted and, as a result, may cause the
  173.     database to become corrupted also.  For best results when editing a
  174.     database on a network, each user must be sure to open all indexes
  175.     associated with that file before making any changes.
  176.  
  177. 3)  Entering an illegal filename or pathname will cause a run-time error.
  178.     Opening a corrupted database or index may cause a run-time error.
  179.  
  180. 4)  Browsing the same database in two windows can lead to problems if you
  181.     do something like ZAP the database in one window and then try to browse
  182.     the other (can only happen on local drives).
  183.  
  184. 5)  Entering invalid color settings may cause menu items to be invisible.
  185.     Quitting dbMAX and re-running the program may restore the original colors
  186.     if they were not saved; otherwise, you will have to delete the DBX.INI
  187.     file to restore the default settings.
  188.  
  189. 6)  Using DOS versions earlier than 3.30 may cause multi-user problems on
  190.     networks due to lack of support for COMMIT and is not supported.
  191.  
  192. 7)  Some users have reported that their PCs lock-up occasionally during
  193.     swapping (swaps occur when shelling to DOS and calling hyperhelp).  This
  194.     appears to be due to an EMS conflict between QEMM and Overlay().
  195.     Using the BADEMS switch will fix the problem; use of the //X switch
  196.     may also be required.
  197.  
  198. 8)  Environment (.ENV) files created with versions of dbMAX prior to 1.25
  199.     are not compatible with this version!
  200.  
  201. 9)  Attempting to use both DBFCDX and DBFSIX RDDs will cause your computer
  202.     to lock up.  If you have the option, use DBFSIX instead.  Also, unless
  203.     you are a registered user, use of SuccessWare's MachSIx library will
  204.     only improve the performance of the Filter command.  To link in the
  205.     library, follow the instructions provided with the software.
  206.  
  207.  
  208. ETC.
  209. ====
  210.  
  211. If you have any comments/suggestions/fixes for dbMAX, send them to me,
  212. Dave Kennedy, via CompuServe Mail (76300,2164) or regular mail ONLY
  213. (no phone calls, please!) and I'll gladly consider them.  Please keep in
  214. mind that the main goal for dbMAX is maximum performance with minimum
  215. bells/whistles/crap (I hope I've done this).
  216.  
  217.  
  218. "FREEWARE"/"SHAREWARE" LICENSE AGREEMENT
  219. ========================================
  220.  
  221. FREEWARE  - the dbMAX program is considered to be free, in that as long as
  222.             the distribution of the program is performed as detailed below,
  223.             no payments or other licensing agreements need to be made.
  224.  
  225.             If you would like to register your copy of dbMAX, send US$20
  226.             and in return I will send you a master diskette with a compiled
  227.             and linked .EXE (capable of accessing Clipper, dBASE III/IV, and
  228.             FoxPro indexes) and automated installation program, so that dbMAX
  229.             can be used by people without the Clipper compiler or even
  230.             knowledge of what a compiler is.  This disk also includes the
  231.             Clipper 5.2 .OBJs.  Also included is automatic notification via
  232.             CompuServe e-mail/postcard when the next version of dbMAX is
  233.             available.
  234.  
  235. SHAREWARE - By sending a check or money order for US$35, I will send you a
  236.             disk containing a linked .EXE (capable of accessing Clipper,
  237.             dBASE III/IV, and FoxPro indexes), the INSTALL.EXE file along
  238.             with the Builder source code, and the source code for dbMAX and
  239.             the hyperhelp text.  You will also receive notification via
  240.             e-mail or postcard when the next version of dbMAX is available.
  241.  
  242.             The source generally conforms to Computer Associates' coding
  243.             guidelines and is fully commented where necessary, exactly like
  244.             FIXUP.PRG and MYFUNC.PRG.  Recipients of the source are asked not
  245.             to distribute the code or modified executables to any other
  246.             person.
  247.  
  248. The order form is available by printing out ORDERFRM.DOC.
  249.  
  250.                                      * * *
  251.  
  252. This software is an original work by David A. Kennedy and is released into
  253. the public domain with restrictions.  The software can be USED, COPIED, and
  254. DISTRIBUTED on an UNLIMITED BASIS, as long as no fee is charged for its use,
  255. copying, or distribution.  All rights to the program worldwide are reserved
  256. by David A. Kennedy.  Unauthorized duplication, distribution, modification,
  257. or decompilation of this software is expressly prohibited.
  258.  
  259. You are encouraged to copy and share dbMAX with others.  PLEASE distribute
  260. all the files in the original .ZIP.  This is this a REQUIREMENT for
  261. distribution as SHAREWARE.
  262.  
  263. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT
  264. WARRANTY OF ANY KIND.  THE ENTIRE RISK TO THE RESULTS AND PERFORMANCE OF THE
  265. SOFTWARE IS ASSUMED BY YOU.
  266.  
  267. David A. Kennedy will not be liable for any special, incidental,
  268. consequential, indirect or similar damages due to the loss of data, loss of
  269. business profits, business interruption or any other reason, even if David
  270. A. Kennedy has been advised of the possibility of such damages.
  271.  
  272. This is a legal agreement between you, the end user, and David A. Kennedy.
  273. By using or distributing this package, you are agreeing to be bound by the
  274. terms of this Agreement.  If you do not agree to the terms of this agreement
  275. promptly destroy (erase) all copies of the software.
  276.  
  277. The Help! Engine (HELP.EXE) is property of Flambeaux Software, Inc. and
  278. specifically IS NOT placed into the public domain.  All rights worldwide are
  279. reserved by Flambeaux Software, Inc.  Modifications to the Help! Engine are
  280. prohibited.
  281.  
  282.  
  283.